<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<head>
<style>
table,th,td{
    border: 1px solid black;
}
caption{
    caption-side: bottom;
}
</style>
</head>
<body>
<table>
    <caption>...............</div></caption>
<tr>
    <th>Company</th>
    <th>Contact</th>
    <th>City</th>
</tr>
<tr>
    <td>Alibaba</td>
    <td>Ma Yun</td>
    <td>Hangzhou</td>
</tr>
    <tr class="alt">
    <td>Hangzhou</td>
    <td>Tim Cook</td>
    <td>Cupertino</td>
</tr>
    <tr>
    <td>BAIDU</td>
    <td>Li YanHong</td>
    <td>Beijing</td>
</tr>
    <tr class="alt">
    <td>HUAWEI</td>
    <td>Ren Zhengfei</td>
    <td>Shenzhen</td>
</tr>
<tr>
    <td>Tencent</td>
    <td>Ma Huateng</td>
    <td>Shenzhen</td>
    </tr>
</table>
</body>
</html>